home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tools / falc_uti / dsp_tool / include / ssi.inc < prev   
Encoding:
Text File  |  1995-11-25  |  2.5 KB  |  57 lines

  1. ;*********  Teil aus IOEQU.INC ************
  2.  
  3. ;------------------------------------------------------------------------
  4. ;
  5. ;       EQUATES for Synchronous Serial Interface (SSI)
  6. ;
  7. ;------------------------------------------------------------------------
  8.  
  9. ;       Register Addresses
  10.  
  11. m_rx    EQU     $FFEF           ; Serial Receive Data Register
  12. m_tx    EQU     $FFEF           ; Serial Transmit Data Register
  13. m_cra   EQU     $FFEC           ; SSI Control Register A
  14. m_crb   EQU     $FFED           ; SSI Control Register B
  15. m_sr    EQU     $FFEE           ; SSI Status Register
  16. m_tsr   EQU     $FFEE           ; SSI Time Slot Register
  17.  
  18. ;       SSI Control Register A Bit Flags
  19.  
  20. m_pm    EQU     $FF             ; Prescale Modulus Select Mask
  21. m_dc    EQU     $1F00           ; Frame Rate Divider Control Mask
  22. m_wl    EQU     $6000           ; Word Length Control Mask
  23. m_wl0   EQU     13              ; Word Length Control 0
  24. m_wl1   EQU     14              ; Word Length Control 1
  25. m_psr   EQU     15              ; Prescaler Range
  26.  
  27. ;       SSI Control Register B Bit Flags
  28.  
  29. m_of    EQU     $3              ; Serial Output Flag Mask
  30. m_of0   EQU     0               ; Serial Output Flag 0
  31. m_of1   EQU     1               ; Serial Output Flag 1
  32. m_scd   EQU     $1C             ; Serial Control Direction Mask
  33. m_scd0  EQU     2               ; Serial Control 0 Direction
  34. m_scd1  EQU     3               ; Serial Control 1 Direction
  35. m_scd2  EQU     4               ; Serial Control 2 Direction
  36. m_sckd  EQU     5               ; Clock Source Direction
  37. m_fsl   EQU     8               ; Frame Sync Length
  38. m_syn   EQU     9               ; Sync/Async Control
  39. m_gck   EQU     10              ; Gated Clock Control
  40. m_mod   EQU     11              ; Mode Select
  41. m_ste   EQU     12              ; SSI Transmit Enable
  42. m_sre   EQU     13              ; SSI Receive Enable
  43. m_stie  EQU     14              ; SSI Transmit Interrupt Enable
  44. m_srie  EQU     15              ; SSI Receive Interrupt Enable
  45.  
  46. ;       SSI Status Register Bit Flags
  47.  
  48. m_if    EQU     $2              ; Serial Input Flag Mask
  49. m_if0   EQU     0               ; Serial Input Flag 0
  50. m_if1   EQU     1               ; Serial Input Flag 1
  51. m_tfs   EQU     2               ; Transmit Frame Sync
  52. m_rfs   EQU     3               ; Receive Frame Sync
  53. m_tue   EQU     4               ; Transmitter Underrun Error
  54. m_roe   EQU     5               ; Receiver Overrun Error
  55. m_tde   EQU     6               ; Transmit Data Register Empty
  56. m_rdf   EQU     7               ; Receive Data Register Full
  57.